package com.beidouapp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.beidouapp.domain.pojo.Engineer;
import com.beidouapp.domain.pojo.EngineerExample;
import com.beidouapp.domain.pojo.EngineerPos;
import com.beidouapp.domain.vo.OrgRoleEmployeeVO;

public interface EngineerMapper {
	public List<EngineerPos> getEngineerPosList();
	Map<String, Object> getDistributeTotal();
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table S_COMMON_MEMBER
     *
     * @mbggenerated Thu Dec 22 15:54:33 CST 2016
     */
    int countByExample(EngineerExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table S_COMMON_MEMBER
     *
     * @mbggenerated Thu Dec 22 15:54:33 CST 2016
     */
    int deleteByExample(EngineerExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table S_COMMON_MEMBER
     *
     * @mbggenerated Thu Dec 22 15:54:33 CST 2016
     */
    int insert(Engineer record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table S_COMMON_MEMBER
     *
     * @mbggenerated Thu Dec 22 15:54:33 CST 2016
     */
    int insertSelective(Engineer record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table S_COMMON_MEMBER
     *
     * @mbggenerated Thu Dec 22 15:54:33 CST 2016
     */
    List<Engineer> selectByExample(EngineerExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table S_COMMON_MEMBER
     *
     * @mbggenerated Thu Dec 22 15:54:33 CST 2016
     */
    int updateByExampleSelective(@Param("record") Engineer record, @Param("example") EngineerExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table S_COMMON_MEMBER
     *
     * @mbggenerated Thu Dec 22 15:54:33 CST 2016
     */
    int updateByExample(@Param("record") Engineer record, @Param("example") EngineerExample example);
    
    
    public List<Engineer> findEngineersByMap(RowBounds rowBounds, Map<String, Object> params);
    
    public Integer findEngineersCountByMap(Map<String, Object> params);
}